package com.yunshang.shoppingmall.service.impl;

import com.yunshang.shoppingmall.entity.UserWtihdrawals;
import com.yunshang.shoppingmall.mapper.UserRoleMapper;
import com.yunshang.shoppingmall.mapper.UserWtihdrawalsMapper;
import com.yunshang.shoppingmall.service.UserWtihdrawalsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("/userWtihdrawalsService")
public class UserWithdrawalsServiceImpl implements UserWtihdrawalsService {

    @Autowired
    UserWtihdrawalsMapper userWtihdrawalsMapper;
    @Override
    public int insert(UserWtihdrawals record) {
        return userWtihdrawalsMapper.insert(record);
    }

    @Override
    public int insertSelective(UserWtihdrawals record) {
        return userWtihdrawalsMapper.insertSelective(record);
    }

    @Override
    public List<UserWtihdrawals> selectUserWithdrawalsList(String tixianSign) {
        return userWtihdrawalsMapper.selectUserWithdrawalsList(tixianSign);
    }
}
